import { createApp } from 'vue'
import App from './App.vue'
import router from "./router/index";
import naive from 'naive-ui'

// createApp(App).mount('#app')
// createApp(App).use(router).mount('#app')


// 5. 创建并挂载根实例
const app = createApp(App)
app.use(router)
app.use(naive)
app.mount('#app')
